<template>
  <div align="center">
    <h1>评价成功</h1>
    <img
      src="https://godguang.oss-cn-shanghai.aliyuncs.com/2024/JANUARY/11/15/55/994ea758-8c00-426b-8a63-03f967b2c9a7.jpg"
      style="width: 100% ;height: 250px"
    >
    <el-divider>如果您的问题得到解决?送个礼物鼓励一下吧</el-divider>
    <div class="image-container">
      <div class="image-wrapper">
        <img
          src="https://godguang.oss-cn-shanghai.aliyuncs.com/2024/JANUARY/11/15/55/994ea758-8c00-426b-8a63-03f967b2c9a7.jpg"
          style="height: 100px; width: 100px"
        />
        <h3>花束 <span style="color: red;"> 20HB</span></h3>
        <!--        <button @click="handleClick(1)" >按钮1</button>-->
        <el-button type="primary" @click="handleClick(1)">立即赠送</el-button>
      </div>
      <div class="image-wrapper">
        <img
          src="https://godguang.oss-cn-shanghai.aliyuncs.com/2024/JANUARY/11/15/55/994ea758-8c00-426b-8a63-03f967b2c9a7.jpg"
          style="height: 100px; width: 100px"
        />
        <h3>证书 <span style="color: red;"> 50HB</span></h3>
        <el-button type="primary" @click="handleClick(2)">立即赠送</el-button>
      </div>
      <div class="image-wrapper">
        <img
          src="https://godguang.oss-cn-shanghai.aliyuncs.com/2024/JANUARY/11/15/55/994ea758-8c00-426b-8a63-03f967b2c9a7.jpg"
          style="height: 100px; width: 100px"
        />
        <h3>奖杯 <span style="color: red;"> 100HB</span></h3>
        <el-button type="primary" @click="handleClick(3)">立即赠送</el-button>
      </div>
    </div>

  </div>

</template>

<script>
//这里可以导入其他文件（比如：组件，工具js，第三方插件js，json文件，图片文件等等）,
//例如：import 《组件名称》 from '《组件路径》,
export default {
  //import引入的组件需要注入到对象中才能使用"
  components: {},
  props: {},
  data() {
    //这里存放数据"

    return {
      doctorName:'',
    }
  },
  //计算属性 类似于data概念",
  computed: {},
  //监控data中的数据变化",
  watch: {},
  //方法集合",
  methods: {
    handleClick(index) {
      console.log(`点击了第${index}张图片的按钮！`)
    }
  },
  //生命周期 - 创建完成（可以访问当前this实例）",
  created() {
    this.doctorName=this.$route.query.evaluateDoctor
    console.log(this.doctorName)
  },
  //生命周期 - 挂载完成（可以访问DOM元素）",
  mounted() {
  },
  beforeCreate() {
  }, //生命周期 - 创建之前",
  beforeMount() {
  }, //生命周期 - 挂载之前",
  beforeUpdate() {
  }, //生命周期 - 更新之前",
  updated() {
  }, //生命周期 - 更新之后",
  beforeDestroy() {
  }, //生命周期 - 销毁之前",
  destroyed() {
  }, //生命周期 - 销毁完成",
  activated() {
  } //如果页面有keep-alive缓存功能，这个函数会触发",
}
</script>
<style scoped>
.image-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.image-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}
</style>
